extends layout
block content
    script(type='text/javascript', src='./javascripts/jquery-1.10.2.min.js')
    script(type='text/javascript', src='./javascripts/UnitTests-client.js')
    hr
    h1=title
    hr
    #testing
        h2 Server-side Tests
        table(id='server-testing')
            tbody
                tr
                    th Test Subject
                    th.imageTH Success?
                -for(var test in tests){
                    tr
                        -if(tests[test]){
                            td.success #{test}
                            td.success
                                img(src='./images/tick.png')
                        -} else {
                            td.failure #{test}
                            td.failure
                                img(src='./images/cross.png')
                        -}
                -}
        h2 Client-side Tests
        table(id='client-testing')
            tbody
                tr
                    th Test Subject
                    th.imageTH Success?
    hr
    table(id='statusTable')
        tbody
            tr
                td Client Test Status:
                td.testStatus Processing...
    hr
    include footer